package linkedlist.leetcode;

/**
 * @author lynn
 * @date 18-12-15 上午10:45
 */
public class Main {

    public static void main(String[] args) {

        ListNode head = new ListNode(new int[]{1, 2, 6, 3, 4, 5, 6});
        System.out.println(head);

        System.out.println(new Solution2().removeElements(head, 6));


    }

}
